package com.yidaozou.test.jsonobj;

public class Message {
	
	private String appName;
	private String appCode;
	private String businessCode;
	private String businessType;
	private String fromIp;
	private String id;
	private Body body;
	
	public String getAppName() {
		return appName;
	}
	public void setAppName(String appName) {
		this.appName = appName;
	}
	public String getAppCode() {
		return appCode;
	}
	public void setAppCode(String appCode) {
		this.appCode = appCode;
	}
	public String getBusinessCode() {
		return businessCode;
	}
	public void setBusinessCode(String businessCode) {
		this.businessCode = businessCode;
	}
	public String getBusinessType() {
		return businessType;
	}
	public void setBusinessType(String businessType) {
		this.businessType = businessType;
	}
	public String getFromIp() {
		return fromIp;
	}
	public void setFromIp(String fromIp) {
		this.fromIp = fromIp;
	}
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public Body getBody() {
		return body;
	}
	public void setBody(Body body) {
		this.body = body;
	}
	
	public String toString() {
		return this.appName + "#" + this.appCode + "#" + this.businessCode+ "#" + 
			 this.businessType + "#" + this.fromIp + "#" + this.id + "##" + this.body;
	}
}
